package com.zwj.mapper;

import com.zwj.bo.AddCourseBo;
import com.zwj.dto.CourseMember;
import com.zwj.dto.SeeStudentQuery;
import com.zwj.dto.SelectCourseQuery;
import com.zwj.entity.CourseInfoEntity;
import com.zwj.entity.CourseProjectInfoEntity;
import com.zwj.entity.CourseProjectTeacherInfoEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

    int addCourseInfo(CourseInfoEntity courseInfoEntity);

    int addCourseProjectInfo(CourseProjectInfoEntity courseProjectInfoEntity);

    int addCourseProjectTeacherInfo(CourseProjectTeacherInfoEntity courseProjectTeacherInfoEntity);

    int addResponsibleTeacherInfo(CourseProjectTeacherInfoEntity courseProjectTeacherInfoEntity);

    String selectCourseBy(AddCourseBo addCourseBo);

    int addCourseStudent(CourseMember courseMember);

    List<Object> selectCourse(SelectCourseQuery selectCourseQuery);

    int deleteCourseProjectInfo(CourseProjectInfoEntity courseProjectInfoEntity1);

    int deleteCourseTeacherInfo(String courseProjectInfoId);

    int deleteCourseMemberInfo(String courseProjectInfoId);

    int UpdateCourseProjectInfo(CourseProjectInfoEntity courseProjectInfoEntity);

    List<Object> SeeStudent(SeeStudentQuery seeStudentQuery);
}
